package ex3;

public class TestWarehouse {

	public static void main(String[] args) {
		Merchandise boots = new Boots();
		Merchandise coat = new Coat();
		Merchandise costume = new Costume();
		Merchandise dress = new Dress();
		Merchandise sandals = new Sandals();
		Warehouse w = new Warehouse();

		w.addMerchandise(costume);
		w.addMerchandise(coat);
		w.addMerchandise(boots);
		w.addMerchandise(dress);
		w.addMerchandise(sandals);
		System.out.println(w.count());
		
		System.out.println ("Max weight = " + w.MAXWEIGHT);

	}

}
